Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.Toolkit Assembly / Xceed.Wpf.Toolkit.Chart Namespace / ListBase<T> Class / Item Property

The zero-based index at which to retrieve or assign the item in the collection.



In This Topic
    Item Property (ListBase<T>)
    In This Topic

    Retrieves or assigns an item in a collection.

    Syntax
    'Declaration
     
    Public Overridable Default Property Item( _
       ByVal index As Integer _
    ) As T
    'Usage
     
    Dim instance As ListBase(Of T)
    Dim index As Integer
    Dim value As T
     
    instance.Item(index) = value
     
    value = instance.Item(index)
    public virtual T this[ 
       int index
    ]; {get; set;}

    Parameters

    index

    The zero-based index at which to retrieve or assign the item in the collection.

    Property Value

    The type of the collection.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also